package string;

import java.util.Arrays;

public class SplitDemo {
    public static void main(String[] args) {
        String str = "abc=def=ghi";
        String []str1 = str.split("=",2);
        System.out.println(Arrays.toString(str1));
    }
}
